package com.shyroke.daydayzhuansvc.util;

/**
 * 类名 ：OSS常量类
 * 用法 ：
 * 创建人 ： shyroke
 * 时间：2019/1/14 16:28
 */
public class OSSClientConstants {
    public static final String ABC = "ABC";
    //阿里云API的外网域名
    public static final String ENDPOINT = "oss-cn-shenzhen.aliyuncs.com";//"oss-cn-shanghai.aliyuncs.com";
    //阿里云API的密钥Access Key ID
    public static final String ACCESS_KEY_ID = "LTAI0QiHhDSzNu61";
    //阿里云API的密钥Access Key Secret
    public static final String ACCESS_KEY_SECRET = "JWG5WuY4wLccJgeczXvXXe2gaPBewV";
    //阿里云API的bucket名称
    public static final String BUCKET_NAME = "daydayzhuan";//"uploadpicture";


    //项目封面图片存放地址
    public static final String COVER_PATH = "img/cover/";

    //APP封面图片存放地址
    public static final String APP_COVER_PATH = "img/appcover/";

    //APP邀请图片存放地址
    public static final String APP_INVATE_PATH = "img/appinvate/";

    //subject封面图片存放地址
    public static final String SUBJECT_COVER_PATH = "img/subject/";

    //广告图片存放地址
    public static final String ADVERT_PATH = "img/advert/";

    //项目内容图片存放地址
    public static final String CONTENT_PATH = "img/content/";

    //爬虫图片存放地址
    public static final String SPIDER_IMAGE_PATH = "img/spiderImage/";

    // 商务会做内容存放地址
    public static final String BUSINESS_PATH ="img/business/";

    // 投稿存放地址
    public static final String SubmitAtr_PATH ="img/submitArt/";

    //水印后缀
    public static final String WATER_MARK = "?x-oss-process=style/logo";

    //封面裁剪
    public static final String COVER_WATER_MARK = "?x-oss-process=image/crop,w_210,h_160,g_north";
    public static final String COVER_WATER_MARK2 = "?x-oss-process=image/crop,w_180,h_90,g_north";

    //网站地图
    public static final String SITEMAP_PATH = "file/";

    //APP
    public static final String APK_PATH = "app/";

    /**
     * 图片邀请码存放目录
     */
    public static final String INVITE_IMG_PATH = "img/inviteImg/";

}
